export default {
  namespaced:true,
  state:{
    //钩蛾u车中商品
    items:[],
    // 购物车商品数量
    number:0
  },
  mutations:{
    set_cart_info(state, {items, number}){
      // 修改购物车数据
      state.items =items
      state.number=number
    }
  }
}